package com.frogs.ucenter.v1.service;

import com.frogs.system.web.api.request.Request;
import com.frogs.system.web.api.response.Response;

public interface InsuranceService {

	/**
	 * 生成激活码
	 * @param request
	 * @return
	 */
	Response insertCode(Request request) throws Exception;

	/**
	 * 创建用户保单
	 * @param request
	 * @return
	 */
	Response insertInsuranceRecord(Request request) throws Exception;

	/**
	 * 退用户保单
	 * @param request
	 * @return
	 */
	Response deleteInsuranceRecord(Request request) throws Exception;

	/**
	 * 获取保险列表
	 * @param request
	 * @return
	 */
	Response getInsuranceInfoList(Request request) throws Exception;

	/**
	 * 查询用户保单列表
	 * @param request
	 * @return
	 */
	Response getInsuranceRecordList(Request request) throws Exception;

	/**
	 * 查询用户保单详情
	 * @param req
	 * @return
	 */
	Response getInsuranceRecordDetail(Request req) throws Exception;
								

}
